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

Side by Side Diff: chrome/browser/ui/webui/sync_internals_ui.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 21 matching lines...) Expand all
32 // Immediately fires a onGetAboutInfoFinished() event with a 32 // Immediately fires a onGetAboutInfoFinished() event with a
33 // dictionary of sync-related stats and info. 33 // dictionary of sync-related stats and info.
34 // 34 //
35 // All other messages are routed to the sync service if it exists, 35 // All other messages are routed to the sync service if it exists,
36 // and dropped otherwise. 36 // and dropped otherwise.
37 // 37 //
38 // TODO(akalin): Add a simple isSyncEnabled() message and make 38 // TODO(akalin): Add a simple isSyncEnabled() message and make
39 // getAboutInfo() be handled by the sync service. 39 // getAboutInfo() be handled by the sync service.
40 virtual void OnWebUISend(const GURL& source_url, 40 virtual void OnWebUISend(const GURL& source_url,
41 const std::string& name, 41 const std::string& name,
42 const ListValue& args) OVERRIDE; 42 const base::ListValue& args) OVERRIDE;
43 43
44 // browser_sync::JsEventHandler implementation. 44 // browser_sync::JsEventHandler implementation.
45 virtual void HandleJsEvent( 45 virtual void HandleJsEvent(
46 const std::string& name, 46 const std::string& name,
47 const browser_sync::JsEventDetails& details) OVERRIDE; 47 const browser_sync::JsEventDetails& details) OVERRIDE;
48 virtual void HandleJsMessageReply( 48 virtual void HandleJsMessageReply(
49 const std::string& name, 49 const std::string& name,
50 const browser_sync::JsArgList& args) OVERRIDE; 50 const browser_sync::JsArgList& args) OVERRIDE;
51 51
52 private: 52 private:
53 // Returns the sync service's JsFrontend object, or NULL if the sync 53 // Returns the sync service's JsFrontend object, or NULL if the sync
54 // service does not exist. 54 // service does not exist.
55 browser_sync::JsFrontend* GetJsFrontend(); 55 browser_sync::JsFrontend* GetJsFrontend();
56 56
57 DISALLOW_COPY_AND_ASSIGN(SyncInternalsUI); 57 DISALLOW_COPY_AND_ASSIGN(SyncInternalsUI);
58 }; 58 };
59 59
60 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_ 60 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview_handler.h ('k') | chrome/browser/ui/webui/task_manager_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698