Last active
August 29, 2015 14:05
-
-
Save miketheprogrammer/9c4d269718c9611826fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The Compile Bugs | |
In file included from ../../src/browser/exo_menu.cc:4: | |
In file included from ../../src/browser/exo_menu.h:11: | |
../../vendor/brightray/vendor/download/libchromiumcontent/src/base/memory/scoped_ptr.h:313:3: error: static_assert failed "T_is_refcounted_type_and_needs_scoped_refptr" | |
COMPILE_ASSERT(base::internal::IsNotRefCounted<T>::value, | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../../vendor/brightray/vendor/download/libchromiumcontent/src/base/macros.h:160:35: note: expanded from macro 'COMPILE_ASSERT' | |
#define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg) | |
^ | |
../../src/browser/browser_main_parts.h:58:38: note: in instantiation of template class 'scoped_ptr<exo_shell::ApiHandler, base::DefaultDeleter<exo_shell::ApiHandler> >' requested here | |
scoped_ptr<ApiHandler> api_handler_; | |
^ | |
// The Current Working Tree | |
diff --git a/src/api/api_binding.h b/src/api/api_binding.h | |
index 36bfb5d..f1a4da7 100644 | |
--- a/src/api/api_binding.h | |
+++ b/src/api/api_binding.h | |
@@ -17,7 +17,7 @@ class DictionaryValue; | |
} | |
namespace exo_shell { | |
- | |
+ class ApiHandler; | |
// ## ApiBinding | |
// | |
// Exposes the interface of an object binded to the API | |
diff --git a/src/browser/exo_menu.h b/src/browser/exo_menu.h | |
index cc8fe1c..c63e008 100644 | |
--- a/src/browser/exo_menu.h | |
+++ b/src/browser/exo_menu.h | |
@@ -26,11 +26,12 @@ | |
#include "ui/views/widget/widget_observer.h" | |
#endif | |
+#include "src/api/api_handler.h" | |
namespace exo_shell { | |
// ### ExoMenu | |
// | |
+class ApiHandler; | |
class ExoMenu : public ui::SimpleMenuModel::Delegate { | |
public: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment