Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Unified Diff: shell/application_manager/fetcher.h

Issue 1276073004: Offline By Default (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add missing explicits. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « shell/application_manager/application_manager.cc ('k') | shell/application_manager/fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/fetcher.h
diff --git a/shell/application_manager/fetcher.h b/shell/application_manager/fetcher.h
index 0789387f9188915362136b10bf2977d58fa8b098..e1039f36d620442595c5927dda5dd23526892a6e 100644
--- a/shell/application_manager/fetcher.h
+++ b/shell/application_manager/fetcher.h
@@ -63,8 +63,8 @@ class Fetcher {
GURL* mojo_content_handler_url);
protected:
- static const char kMojoMagic[];
- static const size_t kMaxShebangLength;
+ static bool HasMojoMagic(const base::FilePath& path);
+ static bool PeekFirstLine(const base::FilePath& path, std::string* line);
FetchCallback loader_callback_;
};
« no previous file with comments | « shell/application_manager/application_manager.cc ('k') | shell/application_manager/fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698